package login;

import java.util.Set;

public class LoginServerConfig {

	public static final String KEY_MYSQL_CLASSNAME = "mysql.classname";
	
	public static final String KEY_MYSQL_URL = "mysql.url";
	
	public static final String KEY_MYSQL_USERNAME = "mysql.username";
	
	public static final String KEY_MYSQL_PASSWORD = "mysql.password";
	
	public static final String KEY_SOCKET_PORT = "socket_port";

	public static final String KEY_HTTP_PORT = "http_port";

	public static final String CONFIG_FILE_NAME = "login.properties";
	
	public static final String GARENA_OAUTH_REDIRECT_URI = "garena.oauth.redirect.uri";
	
	public static final String GARENA_APP_ID = "garena.app.id";
	
	public static final String GARENA_APP_KEY = "garena.app.key";
	
	public static final String GARENA_APP_SANDBOX = "garena.app.sandbox";
	
	public static final String KEY_announcement = "announcement";
	
	public static final String KEY_LAN_PORT = "lan_port";
	
	public static final String KEY_CODE_VERSION = "code.version";
	
	public static final String KEY_LAN_ALLOW_IP = "ls.lan.allow.ip";
	
	public static final String KEY_CODE_REVIEW = "code.review";
	
	public static final String KEY_LOGIN_WHITE_LIST = "login.white_list";
	
	public static final String ASSET_BUNDLE_URL_KEY = "asset.bundle.url";
	
	public static final String KEY_hall_server_lan_host = "hall_server.lan.host";
	
	public static final String KEY_hall_server_lan_port = "hall_server.lan.port";
	
	private String mysqlClassname;
	
	private String mysqlUrl;
	
	private String mysqlUsername;
	
	private String mysqlPassword;

	private int socketPort;
	
	private int lanPort;

	private int httpPort;
	
	private String announcement;
	
	private Integer codeVersion;

	private Set<String> lanAllowIps;
	
	private Integer codeReview;
	
	private Set<String> loginWhiteList;
	
	private String assetBundleUrl;
	
	private String hallServerSocketHost;
	
	private int hallServerSocketPort;
	
	private String hallServerLanHost;
	
	private int hallServerLanPort;
	
	private String weiXinAppId;
	
	private String weiXinAppSecret;
	
	public int getSocketPort() {
		return socketPort;
	}

	public void setSocketPort(int socketPort) {
		this.socketPort = socketPort;
	}

	public int getHttpPort() {
		return httpPort;
	}

	public void setHttpPort(int httpPort) {
		this.httpPort = httpPort;
	}

	public String getMysqlClassname() {
		return mysqlClassname;
	}

	public void setMysqlClassname(String mysqlClassname) {
		this.mysqlClassname = mysqlClassname;
	}

	public String getMysqlUrl() {
		return mysqlUrl;
	}

	public void setMysqlUrl(String mysqlUrl) {
		this.mysqlUrl = mysqlUrl;
	}

	public String getMysqlUsername() {
		return mysqlUsername;
	}

	public void setMysqlUsername(String mysqlUsername) {
		this.mysqlUsername = mysqlUsername;
	}

	public String getMysqlPassword() {
		return mysqlPassword;
	}

	public void setMysqlPassword(String mysqlPassword) {
		this.mysqlPassword = mysqlPassword;
	}

	public String getAnnouncement() {
		return announcement;
	}

	public void setAnnouncement(String announcement) {
		this.announcement = announcement;
	}

	public int getLanPort() {
		return lanPort;
	}

	public void setLanPort(int lanPort) {
		this.lanPort = lanPort;
	}

	public Integer getCodeVersion() {
		return codeVersion;
	}

	public void setCodeVersion(Integer codeVersion) {
		this.codeVersion = codeVersion;
	}

	public Set<String> getLanAllowIps() {
		return lanAllowIps;
	}

	public void setLanAllowIps(Set<String> lanAllowIps) {
		this.lanAllowIps = lanAllowIps;
	}

	public Integer getCodeReview() {
		return codeReview;
	}

	public void setCodeReview(Integer codeReview) {
		this.codeReview = codeReview;
	}

	public Set<String> getLoginWhiteList() {
		return loginWhiteList;
	}

	public void setLoginWhiteList(Set<String> loginWhiteList) {
		this.loginWhiteList = loginWhiteList;
	}

	public String getAssetBundleUrl() {
		return assetBundleUrl;
	}

	public void setAssetBundleUrl(String assetBundleUrl) {
		this.assetBundleUrl = assetBundleUrl;
	}

	public String getHallServerLanHost() {
		return hallServerLanHost;
	}

	public void setHallServerLanHost(String hallServerLanHost) {
		this.hallServerLanHost = hallServerLanHost;
	}

	public int getHallServerLanPort() {
		return hallServerLanPort;
	}

	public void setHallServerLanPort(int hallServerLanPort) {
		this.hallServerLanPort = hallServerLanPort;
	}

	public String getHallServerSocketHost() {
		return hallServerSocketHost;
	}

	public void setHallServerSocketHost(String hallServerSocketHost) {
		this.hallServerSocketHost = hallServerSocketHost;
	}

	public int getHallServerSocketPort() {
		return hallServerSocketPort;
	}

	public void setHallServerSocketPort(int hallServerSocketPort) {
		this.hallServerSocketPort = hallServerSocketPort;
	}

	public String getWeiXinAppId() {
		return weiXinAppId;
	}

	public void setWeiXinAppId(String weiXinAppId) {
		this.weiXinAppId = weiXinAppId;
	}

	public String getWeiXinAppSecret() {
		return weiXinAppSecret;
	}

	public void setWeiXinAppSecret(String weiXinAppSecret) {
		this.weiXinAppSecret = weiXinAppSecret;
	}

}
